package smartlifev30.com.sdk.bean.request;

import smartlifev30.com.sdk.net.baiwei.protocol.Body;

/**
 * Created by tys on 2018/8/15.
 */

public class SetNetworkParamsRequest extends Body{
    private Gateway gateway;

    public Gateway getGateway() {
        return gateway;
    }

    public void setGateway(Gateway gateway) {
        this.gateway = gateway;
    }

    public class Gateway {
        private String sn;
        /**
         * 0-dhcp, 1-静态IP
         */
        private  String net_mode;
        private String ip;
        private String netmask;
        private String gateway;
        private String dns;

        public String getSn() {
            return sn;
        }

        public void setSn(String sn) {
            this.sn = sn;
        }

        public String getNet_mode() {
            return net_mode;
        }

        public void setNet_mode(String net_mode) {
            this.net_mode = net_mode;
        }

        public String getIp() {
            return ip;
        }

        public void setIp(String ip) {
            this.ip = ip;
        }

        public String getNetmask() {
            return netmask;
        }

        public void setNetmask(String netmask) {
            this.netmask = netmask;
        }

        public String getGateway() {
            return gateway;
        }

        public void setGateway(String gateway) {
            this.gateway = gateway;
        }

        public String getDns() {
            return dns;
        }

        public void setDns(String dns) {
            this.dns = dns;
        }
    }


}
